package com.ecut.property_project.mapper.base;

import com.ecut.property_project.model.base.BasePurpose;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BasePurposeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BasePurpose record);

    int insertSelective(BasePurpose record);

    List<BasePurpose> selectAll();

    List<BasePurpose> selectByPage(Integer page, Integer pageSize);

    BasePurpose selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BasePurpose record);

    int updateByPrimaryKey(BasePurpose record);
}